import java.util.Arrays;

/**
 * @ClassName SystemDemo03
 * @Description TODO
 * @Author Li
 * @Date 2022/8/3 11:57
 * @ModifyDate 2022/8/3 11:57
 * @Version 1.0
 */
public class SystemDemo03 {
    public static void main(String[] args) {
        int[] src = new int[]{1, 2, 3, 4, 5};
        int[] dest = new int[]{6, 7, 8, 9, 10};
        System.out.println("复制前：src数组" + Arrays.toString(src) + ",dest数组" + Arrays.toString(dest));
        System.arraycopy(src, 0, dest, 1, 3);
        System.out.println("复制后：src数组" + Arrays.toString(src) + ",dest数组" + Arrays.toString(dest));
    }
}
